package com.ruoyi.logistic.controller;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.framework.cache.CustomCacheFilter;
import com.ruoyi.logistic.domain.NetworkAbnormalData;
import com.ruoyi.logistic.domain.vo.DetailContrastVo;
import com.ruoyi.logistic.service.HqNetworkBillDetailByNameService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author cmz
 * @Date 2024-07-04 19:29
 */
@RequestMapping("/network/byName")
@RestController
@Api(tags = "网点账单明细-费用名称")
public class HqNetworkBillDetailByNameController {
    @Resource
    private HqNetworkBillDetailByNameService hqNetworkBillDetailByNameService;

    @CustomCacheFilter
    @ApiOperation("获取网点明细对比列表")
    @PostMapping("/detailContrast")
    public R detailContrast(@RequestBody DetailContrastVo detailContrastVo){
        return hqNetworkBillDetailByNameService.detailContrast(detailContrastVo);
    }
}
